﻿#ifndef CALIBRATION_H
#define CALIBRATION_H
#include "qstring.h"

class calibration
{
public:
    calibration();

    bool Cal(int index,int x,int y,float &scale);
    bool Cal_Length(float x,float y,float &scale);
    bool Cal_Cricle(float &scale);
private:

    bool Read_Txt(int index);
    float Real_Size[20];
    int Num_Txt;
    bool Flag;
    bool Flag_R;
    bool Flag_C;
};

#endif // CALIBRATION_H
